Skip to content

Prevent concurrent uses of #ping and #close#1436

Merged
sodabrew merged 2 commits into
brianmario:masterfrom
byroot:ping-close-lock
May 21, 2026
Merged

Prevent concurrent uses of #ping and #close#1436
sodabrew merged 2 commits into
brianmario:masterfrom
byroot:ping-close-lock

Conversation

@byroot

@byroot byroot commented Apr 25, 2026

Copy link
Copy Markdown
Contributor

Fix: #1433

Apply the same locking mechanism #query uses to these two methods.

@bquorning

Copy link
Copy Markdown

There has been a lot of CI changes to the repo recently, so maybe a rebase on master would cause CI to pass?

It's disabled by default in MySQL 8.4, and entirely removed in 9.0
@byroot byroot force-pushed the ping-close-lock branch from 65d5872 to 2c76838 Compare May 4, 2026 08:35
@byroot

byroot commented May 4, 2026

Copy link
Copy Markdown
Contributor Author

Looks like it's worse after a rebase.

@byroot byroot force-pushed the ping-close-lock branch 3 times, most recently from c07489d to 10ccf8b Compare May 4, 2026 08:55
@bquorning

Copy link
Copy Markdown

But aren't all the test failures related to .close behavior now? I thought they were related to your changes.

@byroot byroot force-pushed the ping-close-lock branch 4 times, most recently from 6ee5137 to ac574fa Compare May 4, 2026 09:31
Fix: brianmario#1433

Apply the same locking mecanism `#query` uses to these two methods.
@byroot byroot force-pushed the ping-close-lock branch from ac574fa to 0d08a61 Compare May 4, 2026 09:32
@byroot

byroot commented May 4, 2026

Copy link
Copy Markdown
Contributor Author

Right, the test suite was actually riddled with concurrent closing of connections held by still live threads. I cleaned all that up. It's now green.

@sodabrew sodabrew merged commit 4ccb342 into brianmario:master May 21, 2026
18 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants